<template>
	<view>
		<button type="primary" @tap="localpush">本地推送</button>
		<button type="primary" @tap="getuipush">个推推送</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			localpush:function(){
				uni.navigateTo({
					url: '../push/localpush',
					success: res => {},
					fail: () => {
						console.log("跳转失败");
					},
					complete: () => {}
				});
			},
			getuipush:function(){
				uni.navigateTo({
					url: './getuipush',
					success: res => {},
					fail: () => {
						console.log("跳转失败");
					},
					complete: () => {}
				});
			}
		}
	
	}
</script>

<style>

</style>
